package com.lvmama.pet.sync.dao;

import java.util.List;
import java.util.Map;

import javax.activation.DataSource;

import com.lvmama.comm.sync.po.SyncDataSource;

public interface SyncDataSourceMapper {
    void save(SyncDataSource syncDataSource);
	
	void update(SyncDataSource syncDataSource);

	List<SyncDataSource> findAll();
	
	List<SyncDataSource> findBySourceCode(String sourceCode);
	
	List<SyncDataSource> findPageListByCondition(Map<String,Object> param);

	Long count (Map<String,Object> parmas);

	SyncDataSource findById(Long sourceId);
	
	void deleteById(Long sourceId);


}
